
<?= $this->extend('layout') ?>
<?= $this->section('content') ?>

<div class ="flex2">
<div class ="content">


<?php 





echo "<h8>".$blog['title']."</h8>"."<p>Posted :  ".$blog['date']."</p>"; 
echo "<br>";

echo "<br>";
echo "   <div class =\"blog\">  <img class = \"img-fluid \"                <img src =".base_url('blogImages')."/".esc($blog['image']).">  </div>"; 

echo "<br class =\"clearfix\"><br>";


echo "<br><br>";
echo esc($blog["article"],'raw') ;
echo "<br>";

//could use htmlentities to escape but decided to simple remove < > etc in blog controller left esc for image and date 
echo "<p><a href =".base_url()."/linkPdf/".$blog['slug'] .  ">down load pdf version of page</a>    </p>";  

?>




</div>
</div>
<?= $this->endSection() ?>
